package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-19
 */
@TableName("nb_gp_dashboard_detail")
public class GpDashboardDetail extends Model<GpDashboardDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_plate")
    private String gPlate;
    @TableField("g_time")
    private Date gTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgPlate() {
        return gPlate;
    }

    public void setgPlate(String gPlate) {
        this.gPlate = gPlate;
    }

    public Date getgTime() {
        return gTime;
    }

    public void setgTime(Date gTime) {
        this.gTime = gTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GpDashboardDetail{" +
        "id=" + id +
        ", gPlate=" + gPlate +
        ", gTime=" + gTime +
        "}";
    }
}
